package com.tiyo.wechat.mapper.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;



@TableName("wechat_config")
public class WeChatConfigEntity {
	@TableId(type=IdType.UUID)
	private String id;
	/**
	 * 微信应用APPID
	 */
	private String appid;
	/**
	 * 微信应用密钥
	 */
	private String appsecret;
	/**
	 * 微信token
	 */
	private String accessToken;
	/**
	 * token更新时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private Date tokenRefreshTime;
	/**
	 * jsapiticket
	 */
	private String jsapiTicket;
	/**
	 * jsapiticket更新时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private Date ticketRefreshTime;
	/**
	 * 操作人员
	 */
	private String operator;
	/**
	 * 创建时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private Date createTime;
	/**
	 * 修改时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private Date modeifyTime;
	/**
	 * 状态
	 */
	private Integer status;
	
	/**
	 *	 學校ID
	 */
	private String xyid;
	
	/**
	 * 回调地址
	 */
	private String redirecturi;
	
	public String getRedirecturi() {
		return redirecturi;
	}
	public void setRedirecturi(String redirecturi) {
		this.redirecturi = redirecturi;
	}
	public String getXyid() {
		return xyid;
	}
	public void setXyid(String xyid) {
		this.xyid = xyid;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getAppid() {
		return appid;
	}
	public void setAppid(String appid) {
		this.appid = appid;
	}
	public String getAppsecret() {
		return appsecret;
	}
	public void setAppsecret(String appsecret) {
		this.appsecret = appsecret;
	}
	public String getAccessToken() {
		return accessToken;
	}
	public void setAccessToken(String accessToken) {
		this.accessToken = accessToken;
	}
	
	public String getJsapiTicket() {
		return jsapiTicket;
	}
	public void setJsapiTicket(String jsapiTicket) {
		this.jsapiTicket = jsapiTicket;
	}
	
	public String getOperator() {
		return operator;
	}
	public void setOperator(String operator) {
		this.operator = operator;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getModeifyTime() {
		return modeifyTime;
	}
	public void setModeifyTime(Date modeifyTime) {
		this.modeifyTime = modeifyTime;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public Date getTokenRefreshTime() {
		return tokenRefreshTime;
	}
	public void setTokenRefreshTime(Date tokenRefreshTime) {
		this.tokenRefreshTime = tokenRefreshTime;
	}
	public Date getTicketRefreshTime() {
		return ticketRefreshTime;
	}
	public void setTicketRefreshTime(Date ticketRefreshTime) {
		this.ticketRefreshTime = ticketRefreshTime;
	}
	
}
